package com.rinlink.gateway.jt808.jt808;

import io.github.hylexus.jt.data.msg.MsgType;

public class CustomMsgType implements MsgType {

    private String desc;

    private int type;

    public CustomMsgType(int type) {
        this.type = type;
    }

    @Override
    public int getMsgId() {
        return type;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
